package fr.uvsq.isty.bdh.hchess.interfacing;

/**
 * This exception should be thrown when the the object is in such state that
 * the method call does not make any sense.
 * @author Clement Bellot <clementbellot@gmail.com>
 */
public class BadStateException extends Exception {

    /**
     * Creates a new instance of
     * <code>BadStateException</code> without detail message.
     */
    public BadStateException() {
    }

    /**
     * Constructs an instance of
     * <code>BadStateException</code> with the specified detail message.
     *
     * @param msg the detail message.
     */
    public BadStateException(String msg) {
        super(msg);
    }
}
